MailPoet\Segments\WooCommerce S

Total Complexity 44
Dependencies 12
Dependents 6
Total lines 421
Lines of code 328
Logical lines of code 140
Comment lines 31
Methods 17
Properties 7

Methods 17

Method Rating Maintainability Complexity Lines of code
synchronizeRegisteredCustomer()
A
46 11 37
synchronizeGuestCustomer()
S
53 6 22
insertSubscribersFromOrders()
S
55 4 20
removeOrphanedSubscribers()
S
43 1 65
needsCollationChange()
S
63 4 10
updateStatus()
S
55 2 22
updateFirstNames()
S
58 2 18
updateLastNames()
S
58 2 18
removeUpdatedSubscribersWithInvalidEmail()
S
58 2 17
shouldShowWooCommerceSegment()
S
67 3 8
updateGlobalStatus()
S
55 1 27
synchronizeCustomers()
S
60 1 15
getColumnCollation()
S
63 1 11
markRegisteredCustomers()
S
63 1 11
insertUsersToSegment()
S
65 1 10
unsubscribeUsersFromSegment()
S
65 1 10
__construct()
S
69 1 7